.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  &.shadow {
    box-shadow: 0 2px 10px rgb(0 0 0 / 30%);
    background-color: #fff;
  }

  .content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .logo {
      color: #647eff;
      text-decoration: none;
      font-size: 24px;
      font-weight: bold;

      img {
        vertical-align: middle;
      }
    }

    .icon {
      display: none;
    }
  }

  .loginBtn {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    background-color: #647eff;
    color: #fff;
    font-size: 14px;
    margin-left: 10px;
  }

  .menus {
    display: flex;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;

    .menu {
      text-decoration: none;
      text-emphasis: none;
      color: #333;
      border-bottom: 2px solid transparent;
      line-height: 30px;
      font-weight: 500;
      white-space: nowrap;
      margin-right: 20px;

      &:hover {
        border-bottom: 2px solid #647eff;
      }

      &.active {
        border-bottom: 2px solid #647eff;
      }

      &.myResume {
        background: linear-gradient(315deg, #42d392 25%, #647eff);
        background-clip: text;
        -webkit-text-fill-color: transparent;
      }
    }
  }

  @media screen and (width <= 800px) {
    box-shadow: 0 2px 10px rgb(0 0 0 / 30%);

    .content {
      font-size: 14px;
      padding: 12px;

      .menus {
        padding-left: 10px;
        justify-content: flex-start;
      }
      .hide {
        display: none;
      }
    }
  }

  .mask {
    background-color: rgb(0 0 0 / 60%);
    position: fixed;
    inset: 50px 0 0;
    z-index: 100;
    display: none;
  }

  // .dropdownMenu {
  //   display: none;
  //   background: #fff;
  //   background-color: #fff;
  //   position: fixed;
  //   z-index: 110;

  //   top: 50px;
  //   width: 100%;
  //   left: 0;
  //   padding: 0 20px 40px;
  //   transform-origin: top;

  //   .menus {
  //     display: flex;
  //     flex-direction: column;
  //     /* stylelint-disable-next-line no-descending-specificity */
  //     .menu {
  //       text-decoration: none;
  //       text-emphasis: none;
  //       color: #333;
  //       border-bottom: 2px solid transparent;
  //       line-height: 30px;
  //       font-weight: 500;
  //       margin-right: 10px;
  //     }
  //   }

  //   .loginBtn {
  //     margin-left: 0;
  //     width: 140px;
  //     text-align: center;
  //     margin-top: 30px;
  //     padding: 10px;
  //   }
  // }

  .showMask {
    display: block !important;
  }

  .showDropDown {
    display: block !important;
    animation: slideIn 0.1s linear forwards;
  }

  @keyframes slideIn {
    0% {
      transform: scaleY(0);
    }

    100% {
      transform: scaleY(1);
    }
  }
}
